package my.Interceptor.test;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class App {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Config.class);
		MethodA bean = context.getBean(MethodA.class);
		String result = bean.doWorkA();
		System.out.println(result);
	}
}
